package Demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-03-06
 * Time: 11:22
 */

interface IA {
    void testA();
}

interface IB {
    void testB();
}

interface IC extends IA, IB {
    void testC();
}

class TestDemo implements IC {

    @Override
    public void testA() {
        System.out.println("testA()");
    }

    @Override
    public void testC() {
        System.out.println("testC()");
    }

    @Override
    public void testB() {
        System.out.println("testB()");
    }
}

public class Test2 {

}
